package com.xing.service.wechatui;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableJpaRepositories("xing.repository")
@EntityScan("xing.domain")
@EnableAsync
@EnableScheduling
@ComponentScan(basePackages={"xing.infrastructure","com.xing.service.wechatui","xing.application"})
public class XingServiceWechatUiApplication {

	public static void main(String[] args) {
		SpringApplication.run(XingServiceWechatUiApplication.class, args);
	}
}
